home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Colour.
- Date: Wed, 01 Jun 1994 09:04:27 +1000
- From: Warwick Allison <warwick@cs.uq.oz.au>
- Precedence: bulk
-
- In message <199405310659.IAA01503@blade.stack.urc.tue.nl>, you wrote:
- >... it could be a bit tedious to have to define a
- >custom palette for every window (not to mention the cost in memory ;-)
- >Maybe the vdi-handle is a better candidate.
-
- Or just invent a new handle.
-
- int palette_handle=palette_create();
- etc.
-
- (palette_create would deal with the colour manager)
-
- This allows the very common one-palette-per-application as well as
- n-palettes-per-window (can't imagine a use for that, but I'm sure there
- is one... maybe a scrolling window of images).
-
- >Some libraries (like Warwicks C++ lib I think) use a new vdi-handle
- >for every window anyway.
-
- (GEM++ doesn't enforce this, but yes many libraries do)
-
- --
- Warwick
-